Roan Kattouw [Thu, 12 Jun 2008 11:50:01 +0000 (11:50 +0000)]
(bug 14471) Use HTMLTidy and generate limit report in action=parse
Roan Kattouw [Thu, 12 Jun 2008 11:43:15 +0000 (11:43 +0000)]
Please use standardized error messages here
Meno25 [Thu, 12 Jun 2008 11:20:38 +0000 (11:20 +0000)]
Update files
Chad Horohoe [Thu, 12 Jun 2008 00:51:04 +0000 (00:51 +0000)]
(bug 14500) - The sitefeed (RC) shouldn't show up on Recentchanges itself.
Brion Vibber [Thu, 12 Jun 2008 00:15:29 +0000 (00:15 +0000)]
* (bug 14497) Throw visible errors in installer scripts when SQL files fail due to database permission or other error
Database::sourceFile() was suppressing the standard error reporting, and returning any errors as a string value.
While nice behavior in theory, several years ago, this doesn't work well in practice; most callers assume either that any error will be fatal and halt the script (no error checking) or that an error will return false and any boolean true is success. This caused false positive success, as error conditions returned as strings evaluated to true.
Changed to letting the database object's existing erorr reporting behavior control whether it throws an exception or suppresses the error and returns it as a string -- default behavior will be to throw an exception, making 'can't run CREATE TABLE' errors actually visible to the user trying to install an extension.
For good measure, failure to open the input file also throws an exception to ensure that it will produce a nice visible error instead of a hidden WTF.
Roan Kattouw [Wed, 11 Jun 2008 22:20:26 +0000 (22:20 +0000)]
Re-add wfEncryptPassword() (removed in r35923 in favor of User::crypt() and User::oldCrypt()) for extension compatibility, so old extensions don't go around and throw fatal errors all over the place.
Siebrand Mazeland [Wed, 11 Jun 2008 21:42:23 +0000 (21:42 +0000)]
Localisation updates for core messages from Betawiki (2008-06-11 23:26 CEST)
Bryan Tong Minh [Wed, 11 Jun 2008 21:36:07 +0000 (21:36 +0000)]
Removed $wgEnableCascadingProtection. It was a quite pointless configuration setting which was not even properly implemented. Cascading protection has been always possible regardless of this configuration setting.
Aryeh Gregor [Wed, 11 Jun 2008 21:34:03 +0000 (21:34 +0000)]
I think every string that evaluates to boolean false will be unaffected by this code block anyway (can't capitalize numbers), but we want a strict check here anyway.
Chad Horohoe [Wed, 11 Jun 2008 19:57:14 +0000 (19:57 +0000)]
No point in fetching the result in Database::unlock() if we're not using it anyway.
Brion Vibber [Wed, 11 Jun 2008 17:45:16 +0000 (17:45 +0000)]
cleanup for r36190 -- remove extra parameters left over from wfMsgExt() call
Meno25 [Wed, 11 Jun 2008 17:44:47 +0000 (17:44 +0000)]
Update
Brion Vibber [Wed, 11 Jun 2008 17:37:15 +0000 (17:37 +0000)]
hoist by my own petard!
fix syntax errors in my last commit
Brion Vibber [Wed, 11 Jun 2008 17:34:47 +0000 (17:34 +0000)]
Let's not go overboard with Xml::tag() for simple <div> and <span>s :)
Raimond Spekking [Wed, 11 Jun 2008 12:53:33 +0000 (12:53 +0000)]
Tweak for r36189: Back to addWikiMsg but now with the appropriate parameter. Thanks to Nikerabbit who points me to the correct usage.
Raimond Spekking [Wed, 11 Jun 2008 12:07:58 +0000 (12:07 +0000)]
Reapply support of plural for 'linkstoimage', 'redirectstofile' and 'duplicatesoffile'
Now w/o breaking customized messages.
Alexandre Emsenhuber [Wed, 11 Jun 2008 11:07:34 +0000 (11:07 +0000)]
Document UserLoadDefaults and UserSetCookies hooks
Bryan Tong Minh [Wed, 11 Jun 2008 11:02:52 +0000 (11:02 +0000)]
(bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper on SpecialUpload.php
Brion Vibber [Wed, 11 Jun 2008 02:51:30 +0000 (02:51 +0000)]
Revert r36093 (bug 14404).
Regressions caused by this:
"Use an anonymous user to get the parser options and the parser cache key, thus wikitext rendering is not depending of some sepcific user options such as lang, ..."
User-specific options such as stub threshold were still applying in the parser, but not taken into account in the parser hash key. As a result, the caches were corrupt, saving different options into the anonymous-default options cache.
Brion Vibber [Wed, 11 Jun 2008 01:51:12 +0000 (01:51 +0000)]
Reverting r36139 -- broke wikitext in linkstoimage AGAIN.
Chad Horohoe [Wed, 11 Jun 2008 00:17:42 +0000 (00:17 +0000)]
Implement Database::lock() and Database::unlock() based on the same methods in Filestore. Not implemented in Filestore just yet though.
Chad Horohoe [Tue, 10 Jun 2008 23:18:15 +0000 (23:18 +0000)]
Document Xml::hidden().
Brion Vibber [Tue, 10 Jun 2008 21:32:20 +0000 (21:32 +0000)]
upload dirs will be created on demand; no longer a need to pre-create them
Brion Vibber [Tue, 10 Jun 2008 21:14:14 +0000 (21:14 +0000)]
Revert r36161 -- these are pretty weird-looking hooks, which seem a bit arbitrary and have terrible names.
Rotem Liss [Tue, 10 Jun 2008 18:55:32 +0000 (18:55 +0000)]
Avoid some of the strict JS warnings in Firefox.
Tim Starling [Tue, 10 Jun 2008 17:14:36 +0000 (17:14 +0000)]
Fix the default preprocessor here as well.
Rotem Liss [Tue, 10 Jun 2008 17:07:31 +0000 (17:07 +0000)]
Update.
Raimond Spekking [Tue, 10 Jun 2008 16:58:54 +0000 (16:58 +0000)]
Localisation updates German
Brion Vibber [Tue, 10 Jun 2008 16:49:21 +0000 (16:49 +0000)]
* We no longer just give up on a missing upload base directory; it's now
created automatically if we have sufficient permissions!
(Note that upload_directory_missing and upload_directory_read_only still have crappy output as they show a non-obvious internal path in the output.)
Jack Phoenix [Tue, 10 Jun 2008 16:33:41 +0000 (16:33 +0000)]
Two new hooks to EditPage.php, EditPage::AfterEdit:Form and EditPage:BeforeDisplayingTextbox
Chad Horohoe [Tue, 10 Jun 2008 15:56:12 +0000 (15:56 +0000)]
(bug 14496) Fix regression with parseinline on Special:Upload
Tim Starling [Tue, 10 Jun 2008 15:38:13 +0000 (15:38 +0000)]
Forgot this, needed with r36153
Tim Starling [Tue, 10 Jun 2008 15:20:22 +0000 (15:20 +0000)]
Like the comment says... dieDebug() instead of wfHttpError
Leon Weber [Tue, 10 Jun 2008 15:06:29 +0000 (15:06 +0000)]
(bug 12145) Kazakh localisation updates, patch 4971 by AlefZet
Chad Horohoe [Tue, 10 Jun 2008 13:56:35 +0000 (13:56 +0000)]
(bug 14132) Allow user to disable bot edits from being output to UDP.
Huji [Tue, 10 Jun 2008 13:16:21 +0000 (13:16 +0000)]
Localisation updates: Adding/updating Persian translations
Rotem Liss [Tue, 10 Jun 2008 12:44:32 +0000 (12:44 +0000)]
Update.
Raimond Spekking [Tue, 10 Jun 2008 12:22:31 +0000 (12:22 +0000)]
fix typo from r36141
Raimond Spekking [Tue, 10 Jun 2008 12:08:45 +0000 (12:08 +0000)]
Tweak two messages: add warnings "for experts only".
I got sick from the daily cries for help on the village pumps and OTRS :-(
Raimond Spekking [Tue, 10 Jun 2008 11:19:34 +0000 (11:19 +0000)]
Support plural for 'linkstoimage', 'redirectstofile' and 'duplicatesoffile'
Rotem Liss [Tue, 10 Jun 2008 10:57:10 +0000 (10:57 +0000)]
Update.
Raimond Spekking [Tue, 10 Jun 2008 10:44:13 +0000 (10:44 +0000)]
Support plural for 'throttled-mailpassword'
Raimond Spekking [Tue, 10 Jun 2008 10:32:05 +0000 (10:32 +0000)]
Support plural for 'passwordtooshort'
Siebrand Mazeland [Tue, 10 Jun 2008 09:50:22 +0000 (09:50 +0000)]
Localisation updates for core messages from Betawiki (2008-06-10 11:20 CEST)
Siebrand Mazeland [Tue, 10 Jun 2008 09:23:48 +0000 (09:23 +0000)]
Rebuilt all language files
Rotem Liss [Tue, 10 Jun 2008 08:25:44 +0000 (08:25 +0000)]
* Support multiple extension names in checkExtensions.php (separated by commas).
* Avoid warnings when no localized messages exist for the specified language in an extension.
Rotem Liss [Tue, 10 Jun 2008 08:17:51 +0000 (08:17 +0000)]
Update.
Aaron Schulz [Tue, 10 Jun 2008 01:25:41 +0000 (01:25 +0000)]
Use nice wfArrayMerge(), rather than piece of shit PHP function that fucks up the result. I was wondering wtf was going on...
Shinjiman [Tue, 10 Jun 2008 01:04:36 +0000 (01:04 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aaron Schulz [Tue, 10 Jun 2008 00:51:40 +0000 (00:51 +0000)]
* Don't log patrol marking when not relevant
* Use array_merge() for template ID array merge
* Some random refactoring
Siebrand Mazeland [Tue, 10 Jun 2008 00:29:09 +0000 (00:29 +0000)]
Tweak 'revertpage'. Proposed by: O.
Siebrand Mazeland [Tue, 10 Jun 2008 00:10:47 +0000 (00:10 +0000)]
Update local name for 'bcc'
Brion Vibber [Mon, 9 Jun 2008 23:54:17 +0000 (23:54 +0000)]
* (bug 12311) Fix regression with lists at start of undeletion preview
From patch by RockMFR - https://bugzilla.wikimedia.org/attachment.cgi?id=4969
Brion Vibber [Mon, 9 Jun 2008 23:16:34 +0000 (23:16 +0000)]
Revert r36076, r36109, r36110 -- just doesn't work right. Sometimes removes blocks, sometimes fails to remove blocks, sometimes fails to modify blocks.
Brion Vibber [Mon, 9 Jun 2008 23:04:06 +0000 (23:04 +0000)]
Clean up rr35065 -- normalize initial caps and _ input on Special:Categories form and accept /suffix on page name
Chad Horohoe [Mon, 9 Jun 2008 22:35:17 +0000 (22:35 +0000)]
Minor logic error on removing blocks on range when tweaking an IP.
Chad Horohoe [Mon, 9 Jun 2008 22:03:29 +0000 (22:03 +0000)]
Alrighty, now we properly remove old blocks before inserting the new one. (Bug 10080 works finally!)
Brion Vibber [Mon, 9 Jun 2008 21:45:20 +0000 (21:45 +0000)]
* (bug 11084) $wgDBprefix replacement for updater SQL will now work for
extension tables using uppercase letters or digits in their names.
Brion Vibber [Mon, 9 Jun 2008 21:42:54 +0000 (21:42 +0000)]
* (bug 14392) Fix regression breaking table prefix in installer
Problem was a second DBprefix field in the installer, for the MS SQL-specific options.
This second field would be blank, overwriting the first submission from the MySQL-specific section.
Have renamed that field to DBprefix2, so it won't conflict.
Haven't tested on MSSQL of course. . . ;)
Siebrand Mazeland [Mon, 9 Jun 2008 19:28:26 +0000 (19:28 +0000)]
Fix typo in 'tooltip-recreate'. Thanks to Lloffiwr for spotting it.
Alexandre Emsenhuber [Mon, 9 Jun 2008 19:12:36 +0000 (19:12 +0000)]
(bug 12145) Kazakh message updates
Raimond Spekking [Mon, 9 Jun 2008 19:10:14 +0000 (19:10 +0000)]
Localisation updates German
Alexandre Emsenhuber [Mon, 9 Jun 2008 17:57:18 +0000 (17:57 +0000)]
Some tweaks to the {{int:...}} parser function:
* Respect the language given with parser options
* Replace parameters before expanding its own templates/functions, like $wgOut->addWikiMsg() does
* (bug 14404) Force content language when parsing the text to pass to LinksUpdate
And some tweaks at save time:
* Use an anonymous user to get the parser options and the parser cache key, thus wikitext rendering is not depending of some sepcific user options such as lang, ...
* Same for the refresh link job
Brion Vibber [Mon, 9 Jun 2008 17:53:04 +0000 (17:53 +0000)]
update comment w/ new location of js funcs
Brion Vibber [Mon, 9 Jun 2008 17:20:16 +0000 (17:20 +0000)]
Revert r36033 -- this is for the stub mode output, which does indeed use that. And yes, I'm aware it doesn't match the schema, which is really meant for the final output, not the stub output.
Shinjiman [Mon, 9 Jun 2008 17:18:13 +0000 (17:18 +0000)]
Localisation updates Cantonese and Chinese for extension messages
Niklas Laxström [Mon, 9 Jun 2008 16:39:24 +0000 (16:39 +0000)]
* Small improvements found in Betawiki
Huji [Mon, 9 Jun 2008 15:06:27 +0000 (15:06 +0000)]
Localisation updates: Adding/updating Persian translations
Chad Horohoe [Mon, 9 Jun 2008 14:17:16 +0000 (14:17 +0000)]
(bug 11951) EditPage::getEditToolbar() is now static. Should make life easier for extensions.
Rotem Liss [Mon, 9 Jun 2008 14:08:34 +0000 (14:08 +0000)]
Update.
Raimond Spekking [Mon, 9 Jun 2008 13:09:38 +0000 (13:09 +0000)]
Localisation updates German
Chad Horohoe [Mon, 9 Jun 2008 13:03:58 +0000 (13:03 +0000)]
Bug 10080 - Finally fixed. No longer mis-detects an individual IP as blocked when the range is. Also, introduced new msg called ipb_tweak_block (per request of Siebrand) as opposed to repurposing ipb_already_blocked.
Aaron Schulz [Mon, 9 Jun 2008 01:15:14 +0000 (01:15 +0000)]
Hidden blocks should be permanent only
Shinjiman [Mon, 9 Jun 2008 00:36:35 +0000 (00:36 +0000)]
Localisation updates Cantonese and Chinese for extension messages
Ryan Schmidt [Sun, 8 Jun 2008 21:58:29 +0000 (21:58 +0000)]
* add hook desc to hooks.txt and fix typo in LinkerMakeExternalLink hook
Ryan Schmidt [Sun, 8 Jun 2008 21:45:05 +0000 (21:45 +0000)]
* Add a new hook LinkerMakeExternalLink to allow extensions to modify the output of external links.
Siebrand Mazeland [Sun, 8 Jun 2008 21:44:38 +0000 (21:44 +0000)]
Localisation updates for core messages from Betawiki
* update 'no' skin names and special page names
Siebrand Mazeland [Sun, 8 Jun 2008 21:41:05 +0000 (21:41 +0000)]
Localisation updates for core messages from Betawiki
* update 'cu' Template_talk namespace name
Siebrand Mazeland [Sun, 8 Jun 2008 21:39:30 +0000 (21:39 +0000)]
Localisation updates for core messages from Betawiki
* add bcc/Southern Balochi
Siebrand Mazeland [Sun, 8 Jun 2008 20:25:38 +0000 (20:25 +0000)]
Localisation updates for core messages from Betawiki (2008-06-08 21:13 CEST)
* additionally rebuilt all language files
Niklas Laxström [Sun, 8 Jun 2008 19:23:54 +0000 (19:23 +0000)]
* Improvements to FormOptions
Aryeh Gregor [Sun, 8 Jun 2008 18:27:56 +0000 (18:27 +0000)]
New $wgGroupPermissions option 'move-subpages' added to control bulk-moving subpages along with pages. Assigned to 'user' and 'sysop' by default. Probably a good idea to remove from user on wikis like enwiki.
Aaron Schulz [Sun, 8 Jun 2008 17:39:24 +0000 (17:39 +0000)]
* Add OldLocalFile::selectRows()
* Add LocalFile::getHistory hook
* Do file history quality query all at once rather than per file
Bryan Tong Minh [Sun, 8 Jun 2008 17:27:47 +0000 (17:27 +0000)]
Current MediaWiki does not appear to use the id attribute of <text /> anymore. Also not allowed by the XML schema.
Rotem Liss [Sun, 8 Jun 2008 13:16:19 +0000 (13:16 +0000)]
Load all extension messages in the specified language code, not only messages defined in English, to avoid breaking the 'obsolete' check in extensions.
Huji [Sun, 8 Jun 2008 10:43:20 +0000 (10:43 +0000)]
Localisation updates: Adding/updating Persian translations
Niklas Laxström [Sat, 7 Jun 2008 12:57:59 +0000 (12:57 +0000)]
* Cache debug messages until $wgOut is initialised
Rotem Liss [Sat, 7 Jun 2008 12:39:44 +0000 (12:39 +0000)]
Standardization of permission errors and other errors in Special:Movepage, to show them earlier, when the user asks to move an article.
Tim Starling [Sat, 7 Jun 2008 09:02:36 +0000 (09:02 +0000)]
Use new calling convention for ImageGallery::add() and ImageGallery::insert()
Rotem Liss [Sat, 7 Jun 2008 08:51:37 +0000 (08:51 +0000)]
Another note.
Rotem Liss [Sat, 7 Jun 2008 08:43:44 +0000 (08:43 +0000)]
Update to match the recent changes in the Translate extension.
Andrew Garrett [Sat, 7 Jun 2008 05:13:25 +0000 (05:13 +0000)]
Add a ! operator to autopromote conditions
Aaron Schulz [Fri, 6 Jun 2008 20:28:34 +0000 (20:28 +0000)]
* Pass in $parser more cleanly
* Show namespace in include error list
* Use getRevisionId() accessor
* Handle bogus article Ids
* Remove unused var
Brion Vibber [Fri, 6 Jun 2008 19:58:06 +0000 (19:58 +0000)]
Add 'ogv' as recognized alias to 'ogg', allowing uploads of .ogv files to proceed if allowed
Chad Horohoe [Fri, 6 Jun 2008 18:33:54 +0000 (18:33 +0000)]
Breaks rangeblocks. Keeping out of trunk until we can figure out why.
Chad Horohoe [Fri, 6 Jun 2008 18:11:05 +0000 (18:11 +0000)]
I think we've fixed the UI issues with the new modify block features. Shows up fine in FF2 and IE7/8. Need additional testing if someone would be so kind :-)
Brion Vibber [Fri, 6 Jun 2008 17:16:11 +0000 (17:16 +0000)]
parser test fix from https://bugzilla.wikimedia.org/show_bug.cgi?id=14435
Brion Vibber [Fri, 6 Jun 2008 16:42:23 +0000 (16:42 +0000)]
* (bug 14432) Fix notice regression in Special:Newpages feed mode
Brion Vibber [Fri, 6 Jun 2008 15:53:49 +0000 (15:53 +0000)]
* (bug 14424) Fix regression in $wgRateLimitsExcludedGroups support
Fixes logic error introduced in r35908.
Rotem Liss [Fri, 6 Jun 2008 15:07:17 +0000 (15:07 +0000)]
Update.